public interface Visitor {
    void visit(Paper paper, Student student);
    Object getResult();
}    